<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="panel panel-default panel-intro">
        <div class="panel-heading">
            <ul class="nav nav-tabs">
                <li class="active"><a href="#base" data-toggle="tab">基础</a></li>
                <li><a href="#advanced" data-toggle="tab">高级</a></li>
                <li><a href="#other" data-toggle="tab">其他</a></li>
                <li><a href="#link" data-toggle="tab">链接</a></li>
            </ul>
        </div>
        <div class="panel-body">
            <div id="myTabContent" class="tab-content">
                <div class="tab-pane fade active in" id="base">
                    <div class="form-group hidden">
                        <label for="c-mp_id" class="control-label col-xs-12 col-sm-2">{:__('Mp_id')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-mp_id" data-rule="required" class="form-control" name="row[mp_id]" type="text" value="{:get_admin_applet_id()}">
                            <input id="c-card_type" class="form-control" name="row[card_type]" value="{$Think.get.type}"
                                   type="text">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-brand_name" class="control-label col-xs-12 col-sm-2">{:__('Brand_name')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-brand_name" data-rule="required" class="form-control" name="row[brand_name]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-logo_url" class="control-label col-xs-12 col-sm-2">{:__('Logo_url')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-logo_url" data-rule="required" class="form-control" size="50" name="row[logo_url]" type="text" placeholder="建议图片尺寸为 300*300">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="plupload-logo_url" class="btn btn-danger plupload" data-input-id="c-logo_url" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-logo_url"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-logo_url" class="btn btn-primary fachoose" data-input-id="c-logo_url" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-logo_url"></span>
                            </div>
                            <ul class="row list-inline plupload-preview" id="p-logo_url"></ul>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-background_pic_url" class="control-label col-xs-12 col-sm-2">{:__('Background_pic_url')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-background_pic_url" data-rule="required" class="form-control" size="50" name="row[background_pic_url]" type="text" placeholder="建议图片尺寸为 300*300">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="plupload-background_pic_url" class="btn btn-danger plupload" data-input-id="c-background_pic_url" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-background_pic_url"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-background_pic_url" class="btn btn-primary fachoose" data-input-id="c-background_pic_url" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-background_pic_url"></span>
                            </div>
                            <span class="help-block">请参照图片
                                <a href="https://mp.weixin.qq.com/cgi-bin/readtemplate?t=cardticket/card_cover_tmpl&type=info&lang=zh_CN"
                                target="_blank"
                                >规范</a>上传</span>
                            <ul class="row list-inline plupload-preview" id="p-background_pic_url"></ul>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-color" class="control-label col-xs-12 col-sm-2">{:__('Color')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <!--            <select  id="c-color" data-rule="required" class="form-control selectpicker" name="row[color]">
                                            {foreach name="colorList" item="vo"}
                                            <option value="{$key}" {in name="key" value="false"}selected{/in} style="background-color: {$vo};">
                                                {$vo} <div style="background-color: {$vo};"></div>
                                            </option>
                                            {/foreach}
                                        </select>-->

                            <div class="radio" id="c-color" data-rule="required">
                                {foreach name="colorList" item="vo"}
                                <label for="row[color]-{$key}">
                                    <input id="row[color]-{$key}" name="row[color]" type="radio" value="{$key}" {in name="key" value=""}checked{/in} />
                                    <br>
                                    <div class="col-sm-3" style="background-color: {$vo}; height: 50px;"></div></label>
                                {/foreach}
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-notice" class="control-label col-xs-12 col-sm-2">{:__('Notice')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-notice" data-rule="required" class="form-control" name="row[notice]" type="text" value="" placeholder="请出示二维码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-description" class="control-label col-xs-12 col-sm-2">{:__('Description')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <textarea id="c-description" data-rule="required" class="form-control editor" rows="5" name="row[description]" cols="50" maxlength="1024" placeholder="不可与其他优惠同享 仅限线下使用 (字数限制1024)"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-prerogative" class="control-label col-xs-12 col-sm-2">{:__('Prerogative')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <textarea id="c-prerogative" data-rule="required" class="form-control editor" rows="5" name="row[prerogative]" cols="50" maxlength="1024" placeholder="不可与其他优惠同享 仅限线下使用 (字数限制1024)"></textarea>
                        </div>
                    </div>
                    <!--<div class="form-group">
                        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-status" class="form-control" name="row[status]" type="text" value="">
                        </div>
                    </div>-->
                    <div class="form-group hidden">
                        <label for="c-create_time" class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="advanced">
                    <div class="form-group">
                        <label for="c-show_field" class="control-label col-xs-12 col-sm-2">{:__('Show_field')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="checkbox" id="c-show_field">
                                <label for="supply_bonus">
                                    <input id="supply_bonus" name="row[supply_bonus]" type="checkbox" value="true" /> 积分</label>
                                <label for="supply_balance">
                                    <input id="supply_balance" name="row[supply_balance]" type="checkbox" value="true" /> 余额</label>
                                <br><br> </div>
                        </div>
                    </div>
                    <div id="bonus-rule-block" class="hidden">
                        <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Bonus_rule')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <span class="input-group-addon">初始积分</span>
                                <input id="c-init_increase_bonus" class="form-control" step="1" min="0" name="row[bonus_rule][init_increase_bonus]" type="number" value="0">
                            </div>
                            <br>
                            <div class="input-group">
                                <span class="input-group-addon">每消费</span>
                                <input id="c-cost_money_unit" class="form-control" step="1" min="0" name="row[bonus_rule][cost_money_unit]" type="number" value="0">
                                <span class="input-group-addon">(单位:分)</span>
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">增   加</span>
                                <input id="c-increase_bonus" class="form-control" step="1" min="0" name="row[bonus_rule][increase_bonus]" type="number" value="0">
                                <span class="input-group-addon">积分</span>
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">单笔最多获得</span>
                                <input id="c-max_increase_bonus" class="form-control" step="1" min="0" name="row[bonus_rule][max_increase_bonus]" type="number" value="0">
                                <span class="input-group-addon">积分</span>
                            </div>
                            <br>

                            <div class="input-group">
                                <span class="input-group-addon">使用门槛</span>
                                <input id="c-least_money_to_use_bonus" class="form-control" step="1" min="0" name="row[bonus_rule][least_money_to_use_bonus]" type="number" value="0">
                                <span class="input-group-addon">(单位:分)</span>
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">每使用</span>
                                <input id="c-cost_bonus_unit" class="form-control" step="1" min="0" name="row[bonus_rule][cost_bonus_unit]" type="number" value="0">
                                <span class="input-group-addon">积分抵扣</span>
                                <input id="c-reduce_money" class="form-control" step="1" min="0" name="row[bonus_rule][reduce_money]" type="number" value="0">
                                <span class="input-group-addon">(单位:分)</span>
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">单笔最多抵扣</span>
                                <input id="c-max_reduce_bonus" class="form-control" step="1" min="0" name="row[bonus_rule][max_reduce_bonus]" type="number" value="0">
                                <span class="input-group-addon">积分</span>
                            </div>

                        </div>
                    </div>
                    </div>
                    <div class="form-group">
                        <label for="c-show_field" class="control-label col-xs-12 col-sm-2">{:__('Custom_field')}1:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select data-rule="required" class="form-control selectpicker" name="row[custom_field1][name_type]">
                                {foreach name="customNameTypeList" item="vo"}
                                    <option value="{$key}">{$vo}</option>
                                {/foreach}
                            </select>

                            <div class="input-group">
                                <span class="input-group-addon">栏位名称</span>
                                <input class="form-control" name="row[custom_field1][name]" type="text" placeholder="会员等级" value="会员等级">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">属性链接</span>
                                <input class="form-control" name="row[custom_field1][url]" type="text" placeholder="http://www.qq.com" value="http://www.qq.com">
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-show_field" class="control-label col-xs-12 col-sm-2">{:__('Custom_field')}2:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select data-rule="required" class="form-control selectpicker" name="row[custom_field2][name_type]">
                                {foreach name="customNameTypeList" item="vo"}
                                    <option value="{$key}">{$vo}</option>
                                {/foreach}
                            </select>

                            <div class="input-group">
                                <span class="input-group-addon">栏位名称</span>
                                <input class="form-control" name="row[custom_field2][name]" type="text" placeholder="会员等级" value="会员等级">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">属性链接</span>
                                <input class="form-control" name="row[custom_field2][url]" type="text" placeholder="http://www.qq.com" value="http://www.qq.com">
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-show_field" class="control-label col-xs-12 col-sm-2">{:__('Custom_field')}3:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select data-rule="required" class="form-control selectpicker" name="row[custom_field3][name_type]">
                                {foreach name="customNameTypeList" item="vo"}
                                    <option value="{$key}">{$vo}</option>
                                {/foreach}
                            </select>

                            <div class="input-group">
                                <span class="input-group-addon">栏位名称</span>
                                <input class="form-control" name="row[custom_field3][name]" type="text" placeholder="会员等级" value="会员等级">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">属性链接</span>
                                <input class="form-control" name="row[custom_field3][url]" type="text" placeholder="http://www.qq.com" value="http://www.qq.com">
                            </div>
                        </div>
                    </div>
                    <hr>
                   <!-- <div class="form-group">
                        <label for="c-auto_activate" class="control-label col-xs-12 col-sm-2">{:__('Auto_activate')}</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="radio" id="c-auto_activate">
                                <label for="row[auto_activate]-true"><input id="row[auto_activate]-true" name="row[auto_activate]" type="radio" value="true" > 是</label>
                                <label for="row[auto_activate]-false"><input id="row[auto_activate]-false" name="row[auto_activate]" type="radio" value="false" checked> 否</label>
                            </div>

                        </div>
                    </div>-->
                    <div class="form-group">
                        <label for="c-activate_type" class="control-label col-xs-12 col-sm-2">{:__('Activate_type')}</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="radio" id="c-activate_type">
                                <input id="auto_activate" name="row[auto_activate]" type="hidden" value="true">
                                <label for="row[activate_type]-auto"><input id="row[activate_type]-auto" name="row[activate_type]" type="radio" value="auto" checked> 自动</label>
                                <label for="row[activate_type]-url"><input id="row[activate_type]-url" name="row[activate_type]" type="radio" value="url"> 网页</label>
                                <label for="row[activate_type]-app"><input id="row[activate_type]-app" name="row[activate_type]" type="radio" value="app"> 小程序</label>
                                <label for="row[activate_type]-component"><input id="row[activate_type]-component" name="row[activate_type]" type="radio" value="component"> 开卡组件</label>
                            </div>

                        </div>
                    </div>
                    <div id="activate-block-url" class="hidden">
                        <div class="form-group">
                            <label for="c-activate_url" class="control-label col-xs-12 col-sm-2">{:__('Activate_url')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-activate_url" class="form-control" name="row[activate_url]" type="text" >
                            </div>
                        </div>
                    </div>
                    <div id="activate-block-app" class="hidden">
                        <div class="form-group">
                            <label for="c-activate_app_brand_user_name" class="control-label col-xs-12 col-sm-2">{:__('Activate_app_brand_user_name')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-activate_app_brand_user_name" class="form-control" name="row[activate_app_brand_user_name]" type="text" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="c-activate_app_brand_pass" class="control-label col-xs-12 col-sm-2">{:__('Activate_app_brand_pass')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-activate_app_brand_pass" class="form-control" name="row[activate_app_brand_pass]" type="text" >
                            </div>
                        </div>

                    </div>
                    <div id="activate-block-component" class="hidden">
                        <div class="form-group">
                            <label for="c-activate_type" class="control-label col-xs-12 col-sm-2">{:__('Wx_activate_after_submit')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="radio">
                                    <label for="row[wx_activate_after_submit]-false"><input id="row[wx_activate_after_submit]-false" name="row[wx_activate_after_submit]" type="radio" value="false" checked> 否</label>
                                    <label for="row[wx_activate_after_submit]-true"><input id="row[wx_activate_after_submit]-true" name="row[wx_activate_after_submit]" type="radio" value="true"> 是</label>
                                </div>
                            </div>
                        </div>
                        <div id="activate-blo-jump" class="hidden">
                            <div class="form-group">
                                <label for="c-activate_app_brand_user_name" class="control-label col-xs-12 col-sm-2">{:__('Wx_activate_after_submit_url')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="wx_activate_after_submit_url" class="form-control" name="row[wx_activate_after_submit_url]" type="text" >
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="other">

                    <div class="form-group">
                        <label for="c-center_title" class="control-label col-xs-12 col-sm-2">{:__('Center_title')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-center_title"  class="form-control" name="row[center_title]" type="text" maxlength="9" value="立即使用">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-center_sub_title" class="control-label col-xs-12 col-sm-2">{:__('Center_sub_title')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-center_sub_title" class="form-control" name="row[center_sub_title]" type="text" maxlength="14" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-center_url" class="control-label col-xs-12 col-sm-2">{:__('Center_url')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-center_url" class="form-control" name="row[center_url]" type="text" value="" maxlength="128">
                        </div>
                    </div>
                    <hr>
                    <div class="form-group">
                        <label for="c-discount" class="control-label col-xs-12 col-sm-2">{:__('Discount')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-discount" data-rule="required" class="form-control" step="0.1" max="10" min="0.1" name="row[discount]" type="number" value="10">
                                <span class="input-group-addon">折</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-quantity" class="control-label col-xs-12 col-sm-2">{:__('Quantity')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-quantity" data-rule="required" class="form-control" name="row[quantity]" type="number" value="1000000">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-code_type" class="control-label col-xs-12 col-sm-2">{:__('Code_type')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select  id="c-code_type" data-rule="required" class="form-control selectpicker" name="row[code_type]">
                                {foreach name="codeTypeList" item="vo"}
                                <option value="{$key}" {in name="key" value="CODE_TYPE_QRCODE"}selected{/in}>{$vo}</option>
                                {/foreach}
                            </select>
                        </div>
                    </div>
                    <hr>
                    <div class="form-group">
                        <label for="c-date_type" class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select  id="c-date_type" data-rule="required" class="form-control selectpicker" name="row[date_type]">
                                {foreach name="dateTypeList" item="vo"}
                                <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                                {/foreach}
                            </select>
                        </div>
                    </div>
                    <div id="date-block1">
                        <!--// type为 动态时间 -->
                        <div class="form-group">
                            <label for="c-fixed_term" class="control-label col-xs-12 col-sm-2">{:__('Fixed_term')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-fixed_term" data-rule="required" class="form-control" name="row[fixed_term]" type="number" value="50000">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="c-fixed_begin_term" class="control-label col-xs-12 col-sm-2">{:__('Fixed_begin_term')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-fixed_begin_term" data-rule="required" class="form-control" name="row[fixed_begin_term]" type="number" value="0">
                            </div>
                        </div>
                        <!-- type为 动态时间// -->
                    </div>
                    <div id="date-block2" class="hidden">
                        <!--// type为 固定时间戳  -->
                        <div class="form-group">
                            <label for="c-begin_timestamp" class="control-label col-xs-12 col-sm-2">{:__('Begin_timestamp')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-begin_timestamp" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[begin_timestamp]" type="text">

                            </div>
                        </div>
                        <div class="form-group">
                            <label for="c-end_timestamp" class="control-label col-xs-12 col-sm-2">{:__('End_timestamp')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-end_timestamp" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[end_timestamp]" type="text">
                            </div>
                        </div>
                        <!-- type为 固定时间戳 // -->
                    </div>
                    <hr>
                    <div class="form-group">
                        <label for="c-location_id_list" class="control-label col-xs-12 col-sm-2">{:__('Location_id_list')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-location_id_list" class="form-control" name="row[location_id_list]" type="text">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-service_phone" class="control-label col-xs-12 col-sm-2">{:__('Service_phone')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-service_phone" class="form-control" name="row[service_phone]" type="text" value="">
                        </div>
                    </div>
                   <!-- <div class="form-group">
                        <label for="c-use_custom_code" class="control-label col-xs-12 col-sm-2">{:__('Use_custom_code')}:</label>
                        <div class="col-xs-12 col-sm-8">

                            <select  id="c-use_custom_code" data-rule="required" class="form-control selectpicker" name="row[use_custom_code]">
                                {foreach name="useCustomCodeList" item="vo"}
                                <option value="{$key}" {in name="key" value="false"}selected{/in}>{$vo}</option>
                                {/foreach}
                            </select>

                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-get_custom_code_mode" class="control-label col-xs-12 col-sm-2">{:__('Get_custom_code_mode')}:</label>
                        <div class="col-xs-12 col-sm-8">

                            <select  id="c-get_custom_code_mode" data-rule="required" class="form-control selectpicker" name="row[get_custom_code_mode]">
                                {foreach name="getCustomCodeModeList" item="vo"}
                                <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                                {/foreach}
                            </select>

                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-can_give_friend" class="control-label col-xs-12 col-sm-2">{:__('Can_give_friend')}:</label>
                        <div class="col-xs-12 col-sm-8">

                            <select  id="c-can_give_friend" data-rule="required" class="form-control selectpicker" name="row[can_give_friend]">
                                {foreach name="canGiveFriendList" item="vo"}
                                <option value="{$key}" {in name="key" value="false"}selected{/in}>{$vo}</option>
                                {/foreach}
                            </select>

                        </div>
                    </div>-->
                </div>
                <div class="tab-pane fade" id="link">
                    <div class="form-group">
                        <label for="c-custom_url_name" class="control-label col-xs-12 col-sm-2">{:__('Custom_url_name')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-custom_url_name" class="form-control" name="row[custom_url_name]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-custom_url_sub_title" class="control-label col-xs-12 col-sm-2">{:__('Custom_url_sub_title')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-custom_url_sub_title" class="form-control" name="row[custom_url_sub_title]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-custom_url" class="control-label col-xs-12 col-sm-2">{:__('Custom_url')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-custom_url" class="form-control" name="row[custom_url]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-custom_app_brand_user_name" class="control-label col-xs-12 col-sm-2">{:__('Custom_app_brand_user_name')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-custom_app_brand_user_name" class="form-control" name="row[custom_app_brand_user_name]" type="text" value="" maxlength="128">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-custom_app_brand_pass" class="control-label col-xs-12 col-sm-2">{:__('Custom_app_brand_pass')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-custom_app_brand_pass" class="form-control" name="row[custom_app_brand_pass]" type="text" value="" maxlength="128">
                        </div>
                    </div>
                    <hr>
                    <div class="form-group">
                        <label for="c-Custom_cell1_name" class="control-label col-xs-12 col-sm-2">{:__('Custom_cell1_name')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-Custom_cell1_name" class="form-control" name="row[custom_cell1][name]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-custom_cell1_tips" class="control-label col-xs-12 col-sm-2">{:__('Custom_cell1_tips')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-custom_cell1_tips" class="form-control" name="row[custom_cell1][tips]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-custom_cell1_url" class="control-label col-xs-12 col-sm-2">{:__('Custom_cell1_url')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-custom_cell1_url" class="form-control" name="row[custom_cell1][url]" type="text" value="">
                        </div>
                    </div>
                    <hr>
                    <div class="form-group">
                        <label for="c-promotion_url_name" class="control-label col-xs-12 col-sm-2">{:__('Promotion_url_name')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-promotion_url_name" class="form-control" name="row[promotion_url_name]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-promotion_url_sub_title" class="control-label col-xs-12 col-sm-2">{:__('Promotion_url_sub_title')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-promotion_url_sub_title" class="form-control" name="row[promotion_url_sub_title]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-promotion_url" class="control-label col-xs-12 col-sm-2">{:__('Promotion_url')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-promotion_url" class="form-control" name="row[promotion_url]" type="text" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-promotion_app_brand_user_name" class="control-label col-xs-12 col-sm-2">{:__('Promotion_app_brand_user_name')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-promotion_app_brand_user_name" class="form-control" name="row[promotion_app_brand_user_name]" type="text" value="" maxlength="128">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-promotion_app_brand_pass" class="control-label col-xs-12 col-sm-2">{:__('Promotion_app_brand_pass')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-promotion_app_brand_pass" class="form-control" name="row[promotion_app_brand_pass]" type="text" value="" maxlength="128">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-need_push_on_view" class="control-label col-xs-12 col-sm-2">{:__('Need_push_on_view')}:</label>
                        <div class="col-xs-12 col-sm-8">

                            <select  id="c-need_push_on_view" class="form-control selectpicker" name="row[need_push_on_view]">
                                {foreach name="needPushOnViewList" item="vo"}
                                <option value="{$key}" {in name="key" value="true"}selected{/in}>{$vo}</option>
                                {/foreach}
                            </select>

                        </div>
                    </div>
                </div>
            </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>


